package com.enation.app.javashop.api.client;

import com.enation.app.javashop.service.base.service.ValidatorManager;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import springfox.documentation.annotations.ApiIgnore;

/**
 * 验证方式客户端
 *
 * @author fk
 * @version v1.0
 * @since v7.2
 * 2020-3-2
 */
@RestController
@RequestMapping("/client/systems")
@ApiIgnore
public class ValidatorClientController {

    @Autowired
    private ValidatorManager validatorManager;

    @GetMapping("/validate")
    public void validate() {
        this.validatorManager.validate();
    }
}
